package cn.ierror.common.enums;

/**
 * 项目名称: tourism
 * 类名称: cn.pubinfo.tourism.common.enums
 * 类描述: 游玩项目
 * 创建人: fzc
 * 创建时间: 2017年05月03日 下午2:30
 **/
public enum PlayItemsEnum {

    YLC("a01","游乐场"),LC("b01","缆车"),PL("c01","漂流"),TZ("d01","拓展"),HX("e01","滑雪"),
    HC("f01","滑草"),SSLY("g01","水上乐园"),CZ("h01","采摘"),YY("i01","游泳"),
    KZYL("j01","空中游览"),PY("k01","攀岩"),SK("l01","烧烤"),CD("m01","垂钓"),
    LY("n01","露营"),MS("n15","马术"),FC("n16","房车"),GEF("n17","高尔夫"),WQ("n18","温泉");

    private String type;

    private String String;

    PlayItemsEnum(String type, String string) {
        this.type = type;
        this.String = string;

    }

    public String getType() {
        return type;
    }

    public java.lang.String getString() {
        return String;
    }

    public static PlayItemsEnum typeOf(String type) {
        for (PlayItemsEnum typeEnum : values()) {
            if (typeEnum.getType().equals(type)) {
                return typeEnum;
            }
        }
        return null;
    }
}
